home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / xshortct / readme.txt next >
Encoding:
Text File  |  1998-10-26  |  1.8 KB  |  90 lines

  1.  
  2. XShortcut.ocx
  3.  
  4.     *********************************************************
  5.     *                            *
  6.     *    Please take the time to send me your comments    *
  7.     *    via the e-mail link on the About Screen.    *
  8.     *    Your feedback can help to create bug free    *
  9.     *    controls.  It makes me feel useful to!        *
  10.     *                            *
  11.     *********************************************************
  12.  
  13.  
  14.  
  15. PROPERTIES:
  16.  
  17.    Location----
  18.  
  19.     There are 3 choices:     DESKTOP(default)
  20.                 START_MENU
  21.                 STARTUP
  22.  
  23.     DEKSTOP puts an shortcut or .lnk file on the desktop
  24.     START_MENU put a shortcut or .lnk file in the Programs area 
  25.         of the start menu
  26.     STARTUP puts a shortcut or .lnk file in the startup folder
  27.         of the start menu to load at startup
  28.  
  29.    Path----
  30.  
  31.     Path refers to the path of the object that you want to 
  32.         create a shortcut to
  33.     
  34.     *NOTE:  if you do not specify a path you will end up with a 
  35.         shortcut to "MY COMPUTER"
  36.  
  37.    Title----
  38.  
  39.     Title is the name which you wish to give your shortcut. 
  40.         there is a default value of "Shortcut to"
  41.  
  42.  
  43.                *************NEW******************
  44.  
  45.    Arguments---- 
  46.  
  47.     Arguments allows the use of command line arguments  
  48.         
  49.         for example:  defrag.exe c:
  50.         
  51.         where c: is an argument for defrag.exe
  52.  
  53.  
  54. Methods:
  55.  
  56.    .Create_Shortcut----
  57.  
  58.     Creates a shortcut using the above property information
  59.  
  60.  
  61.                *************NEW******************
  62.    .Kill_Shortcut
  63.  
  64.     Deletes a shortcut created with .Create_Shortcut
  65.  
  66.  
  67.  
  68. Example--------------------------------------------------------------
  69.  
  70. Private Sub Command1_Click()
  71.  
  72.     With XShortcut1
  73.         .Location = 0
  74.         .Path = "c:\windows\Defrag.exe"
  75.         .Title = "Shortcut to Defrag"
  76.         .Arguments = "d:"
  77.     End With
  78.  
  79.     XShortcut1.Create_Shortcut
  80.  
  81.  
  82. End Sub
  83.  
  84.  
  85. Questions or comments to:
  86. Bruce Flynn
  87. xabner@mailbag.com
  88. Or use e-mail link on about screen
  89.  
  90.